package com.zh.domain.Model.ws;

import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Map;

@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(value = "WsReturnModel", description = "websocket返回信息")
public class WsReturnModel {
    @ApiModelProperty("taskTable 返回消息格式")
    private TableReturnModel tableReturn;
    @ApiModelProperty("编辑返回消息格式")
    private EditReturnModel editReturn;
    @ApiModelProperty("当前正在编辑的单元格状态")
    private Map<String, SimpleUserModel> initEditStatus;
    @ApiModelProperty("消息类型 table edit init line-lock")
    private String type;
}
